package com.yunxi.model.order;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.yunxi.order.pojo.OrderApproveDetailsRespVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OrderApproveDetails对象", description="主机厂订单管理订单明细")
public class OrderApproveDetails {

        @ApiModelProperty(value = "渠道代码")
        @TableField("PARTNER_CODE")
        private String partnerCode;
        @ApiModelProperty(value = "渠道商名称")
        @TableField("PARTNER_NAME")
        private String partnerName;
        @ApiModelProperty(value = "操作时间")
        @TableField(value = "CREATE_DATE",fill = FieldFill.INSERT)
        private Date createDate;
        @ApiModelProperty(value = "操作人")
        @TableField("CREATE_BY")
        private String createBy;

        @ApiModelProperty(value = "订货单号")
        @TableField("ORDER_CAR_ID")
        private String orderCarId;
        @ApiModelProperty(value = "单据状态")
        @TableField("CHECK_STATUS")
        private String checkStatus;
        @ApiModelProperty(value = "车型名称")
        @TableField("MODEL_NAME")
        private String modelName;
        @ApiModelProperty(value = "车系名称")
        @TableField("SERIES_NAME")
        private String seriesName;
        @ApiModelProperty(value = "内饰颜色")
        @TableField("COLOR_NAME_IN")
        private String colorNameIn;
        @ApiModelProperty(value = "外饰颜色")
        @TableField("COLOR_NAME_OUT")
        private String colorNameOut;
        @ApiModelProperty(value = "配置")
        @TableField("CATALOG_NAME")
        private String catalogName;
        @ApiModelProperty(value = "车辆VIN码")
        @TableField("VIN")
        private String vin;
        @ApiModelProperty(value = "付款方式")
        @TableField("PAYWAY")
        private String payway;
        @ApiModelProperty(value = "联系方式")
        @TableField("LINKPHONE")
        private String linkphone;
        @ApiModelProperty(value = "收货人")
        @TableField("LINKMAN")
        private String linkman;
        @ApiModelProperty(value = "送货方式")
        @TableField("IS_PICKUP")
        private String isPickup;
        @ApiModelProperty(value = "收货地址")
        @TableField("ADDR")
        private String addr;
        @ApiModelProperty(value = "装包名称")
        @TableField("CUSTOM_PACK_NAMES")
        private String customPackNames;
        @ApiModelProperty(value = "装包代码")
        @TableField("CUSTOM_PACK_CODES")
        private String customPackCodes;
        @ApiModelProperty(value = "车辆状态")
        @TableField("CAR_STATUS")
        private String carStatus;
        @ApiModelProperty(value = "市场价")
        @TableField("PRICE")
        private BigDecimal price;
        @ApiModelProperty(value = "结算价")
        @TableField("BALANCE_ACCOUNTS")
        private BigDecimal balanceAccounts;

        @ApiModelProperty(value = "合格证信息")
        @TableField("CE_NO")
        private String ceNo;
        @ApiModelProperty(value = "发票号")
        @TableField("RETALL_INVOICE_NO")
        private String retallInvoiceNO;

        private Integer vehiclePurpose;
        private String vehiclePurposeCn;

}
